<!DOCTYPE html>
<html class="app">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="stylesheet" href="{{ asset('/assets/css/bootstrap.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ asset('/assets/css/animate.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ asset('/assets/css/font-awesome.min.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ asset('/assets/css/icon.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ asset('/assets/css/font.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ asset('/assets/css/app.css') }}" type="text/css" />
<script type="text/javascript" src="{{ asset('/assets/js/jquery.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/bootstrap.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/app.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/slimscroll/jquery.slimscroll.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/app.plugin.js') }}"></script>
<title>007书房管理平台</title>
</head>
<body>
	<section id="content" class="m-t-lg wrapper-md animated fadeInUp">
		<div class="container aside-xl">
			<a class="navbar-brand block" href="{{ url('/backend') }}">007书房管理平台</a>
			<section class="m-b-lg">
				<header class="wrapper text-center">
					<strong>Sign in to get in touch</strong>
				</header>
				@if (Session::has('msg'))
    			<div class="alert alert-danger">
    				{{ Session::get('msg') }}
    			</div>
    			@endif
				{!! Form::open(array('action' => 'backend\LoginController@attempt' )) !!}
					<div class="list-group">
						<div class="list-group-item">
							{!! Form::text('cellphone', null, array('class' => 'form-control no-border', 'placeholder' => '输入手机号')) !!}
						</div>
						<div class="list-group-item">
							{!! Form::password('password', array('class' => 'form-control no-border', 'placeholder' => '输入密码')) !!}
						</div>
					</div>
					<input type="hidden" name="_token" value="{{ csrf_token() }}">
					<button type="submit" class="btn btn-lg btn-primary btn-block">登录</button>
					<div class="line line-dashed"></div>
				{!! Form::close() !!}
			</section>
		</div>
	</section>
	<footer id="footer">
		<div class="text-center padder">
			<p>
				<small>007书房管理平台<br>&copy; 2017</small>
			</p>
		</div>
	</footer>
</body>
</html>